﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PlayerScannerCore.ViewModel;
using CoreModel = PlayerScannerCore.Model;

namespace PlayerScannerCore
{
    internal class ViewModelPlayerFactory : PlayerFactory
    {
        private CoreModel.Model _model;
        public ViewModelPlayerFactory(CoreModel.Model model) { _model = model; }

        public override IPlayerIdentifier CreatePlayer() { return new PlayerViewModel(_model); }
    }
}
